package com.zw.mes.module.tecdrawsign.mapper;

import com.zw.mes.entity.technology.DsnCoatSheet;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.Date;
import java.util.List;

/**
 * @ClassName DrawSignMapper.java
 * @author mayongfeng
 * @version 1.0.0
 * @Description TODO
 * @createTime 2021年03月20日 09:32:00
 */
public interface PaintingMapper {

    List<DsnCoatSheet> getAll(DsnCoatSheet dsnCoatSheet);

    DsnCoatSheet findById(Integer coatId);

    List<DsnCoatSheet> findCoatDetailBySheetId(Integer coatId);

    List<DsnCoatSheet> findCoatDetailChangeBySheetId(Integer coatId);

    int receiveCoat(@Param("coatId") Integer coatId, @Param("name") String name,@Param("ptime") Date ptime);

    DsnCoatSheet getDsnCoatSheetByid(Integer id);

    DsnCoatSheet getDsnCoatSheetChangeByid(Integer id);

    /**
     * 查询涂装设计清未单签收数量
     * @return
     */
    int selectPaintingCount();
}
